package com.factory.entity;

import com.factory._01simple.inter.Fruit;

/**
 * @author Qinye
 * @date 2023/8/10 22:41
 */
public class Grape  implements Fruit {
    private boolean seedless;

    public boolean isSeedless() {
        return seedless;
    }

    public void setSeedless(boolean seedless) {
        this.seedless = seedless;
    }

    @Override
    public void grow() {
        System.out.println("Grape is growing");
    }

    @Override
    public void harvest() {
        System.out.println("Grape  has been harvested");
    }

    @Override
    public void plant() {
        System.out.println("Grape  has been planted");
    }
}
